package com.idata.service.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import static com.idata.service.config.ProxyUrlProperties.PREFIX;

@Data
@Configuration
@ConfigurationProperties(prefix = PREFIX)
public class ProxyUrlProperties {

    public static final String PREFIX = "idata";

    private ProxyUrl proxyUrl;

    @Data
    public static class ProxyUrl {
        private String kg;
    }
}